package com.sf.redis.handing;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
import redis.clients.jedis.Jedis;
import redis.clients.jedis.JedisPool;

@Component
public class JedisController {
    @Autowired
    private JedisPool jedisPool;
    public void addLoginData(){
        Jedis jedis=new Jedis("localhost",6379);
    }
}
